/*
 * @Description: 资讯评论管理api
 * @Author: Liulian
 * @Date: 2021-06-24 17:16:30
 * @LastEditors: Liulian
 * @LastEditTime: 2021-06-26 10:38:11
 */
import { get, post } from '@/utils/request'

// 批量删除评论
export function batchDelete(data) {
  return post('/comment/batchDelete', data)
}
// 审核评论
export function check(data) {
  return get('/comment/check', data)
}
// 根据ID删除评论
export function deleteById(data) {
  return get('/comment/deleteById', data)
}
// 分页所有评论信息
export function pageQuery(data) {
  return get('/comment/pageQuery', data)
}
// 保存或更新评论
export function saveOrUpdate(data) {
  return post('/comment/saveOrUpdate', data)
}
